#include "BaseTypeDefin.h"

long giveNumberWithoutZero(long pValue)
{
	string tempDec, str;
	long tmp;
	tempDec = ToString<long>( pValue );

	for(string::iterator iterDec = tempDec.begin(); iterDec != tempDec.end(); ++iterDec)
	{
		if ( (*iterDec) != '0' )
			str += *iterDec;
	}
	tmp = StringTo<long>( str );
	return tmp;
};